/*
 * Copyright 2020-2023 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.sagacity.controller;


import com.sagacity.framework.api.model.request.GenericQueryBO;
import com.sagacity.framework.api.model.response.PageResult;
import com.sagacity.framework.api.model.response.ResponseEntity;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import com.sagacity.entity.OmsOrder;
import com.sagacity.service.OmsOrderService;
import org.springframework.web.bind.annotation.RestController;
import com.sagacity.framework.web.controller.BaseController;
import io.swagger.annotations.Api;

/**
 * <p>
 * 订单 前端控制器
 * </p>
 *
 * @author yangchangkui
 * @date 2023-05-21 14:06
 */
@Api(tags = "订单相关接口")
@RestController
@RequestMapping("/omsOrder")
public class OmsOrderController extends BaseController<OmsOrderService,OmsOrder> {
//    @ApiOperation("通用分页查询接口")
//    @Override
//    public ResponseEntity<PageResult<OmsOrder>> search(@RequestBody GenericQueryBO<OmsOrder> queryBO) {
//        return ResponseEntity.ok(service.search(queryBO));
//    }

}

